package com.heima.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.admin.dtos.ChannelDTO;
import com.heima.model.admin.dtos.SensitiveDTO;
import com.heima.model.admin.pojos.AdSensitive;
import com.heima.model.common.dtos.ResponseResult;

import java.util.List;

/**
 * @Author 壮哥
 * @Date 2021/9/21/12:39
 */
public interface AdSensitiveService extends IService<AdSensitive> {
    public ResponseResult findByNameAndPage(SensitiveDTO dto);
    public ResponseResult insert(AdSensitive sensitive);
    public ResponseResult update(AdSensitive sensitive);
    public ResponseResult deleteById(Integer id);
    /**
     * 查询敏感词内容列表
     * @return
     */
    public ResponseResult<List<String>> selectAllSensitives();
}
